Platform Explorer / Nuxeo Platform 5.8

Extension point formats

Documentation

Extension Point for registering Format types such as Style, Layout, Widget. This is for internal use mainly, new types of Formats are not supposed to be registered by third-party applications.

Contribution Descriptors

  • Class: org.nuxeo.theme.formats.FormatType

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-theme-core-5.8.jar
    <extension point="formats" target="org.nuxeo.theme.services.ThemeService">
    
        <format name="widget">
          <predicate>_ has widget _</predicate>
          <class>org.nuxeo.theme.formats.widgets.WidgetFormat</class>
        </format>
    
        <format name="style">
          <predicate>_ has style _</predicate>
          <class>org.nuxeo.theme.formats.styles.StyleFormat</class>
        </format>
    
        <format name="layout">
          <predicate>_ has layout _</predicate>
          <class>org.nuxeo.theme.formats.layouts.LayoutFormat</class>
        </format>
    
      </extension>